package cn.kgc.blog.dao;

import cn.kgc.blog.pojo.Blog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BlogMapper {
    List<Blog> selectAll(@Param("userid") int userid);
    int add(Blog blog);
    int delete(@Param("id") int id,@Param("userid") int userid);
}
